package cn.tedu.straw.search.service;

import cn.tedu.straw.search.vo.QuestionSearchVO;
import com.github.pagehelper.PageInfo;
import org.springframework.data.domain.Page;

public interface IQuestionService {

    PageInfo<QuestionSearchVO> getQuestionsFromDatabase(Integer pageNum);

    Page<QuestionSearchVO> search(String keyword, Integer pageNum);
}
